﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace Me.Practice.ElevatorEngine.Configuration
{
    public class ElevatorConfigurationElementCollection
        : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new ElevatorConfigurationElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((ElevatorConfigurationElement) element).Name;
        }
    }
}
